import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter',
      theme: ThemeData(
        primarySwatch: Colors.red,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Flutter'),
        ),
        body: HomeContent(),
      ),
    );
  }
}

class HomeContent extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Center(
      child: Container(
        child: ClipOval(
          child: Image.network(
            'https://i0.hdslb.com/bfs/sycp/creative_img/202201/d5c1066867bbcc53e6dbdeeb6fdc8f7c.jpg@.webp',
            alignment: Alignment.center,
            fit: BoxFit.cover,
            height: 200,
            width: 200,
          ),
        ),
        // height: 220.0,
        // width: 350.0,
        alignment: Alignment.center,
        decoration: BoxDecoration(
          color: Colors.black,
        ),
      ),
    );
  }
}
